<!-- 隐私政策 -->
<template>
	<view class="container">
		<rich-text :nodes="nodes"></rich-text>
	</view>
</template>

<script>
	import {
		getAgreement
	} from "@/api/common.js"
	export default {
		data() {
			return {
				webviewStyles: {
					progress: {
						color: '#FF3333'
					}
				},
				nodes: ""
			};
		},
		onLoad() {
			getAgreement({
				type: 1
			}).then((res) => {
				this.nodes = res.data.content
			})
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		padding: 32rpx;
	}
</style>